package com.dreamoriole.dao.impl;

import java.util.List;

import com.dreamoriole.POJO.FinanceAnswer;
import com.dreamoriole.dao.IFinanceAnswerDao;

public class FinanceAnswerDaoImpl extends FinanceObjectDaoImpl implements IFinanceAnswerDao {

	public void deleteAnswer(FinanceAnswer answer) {
		super.deleteObject(answer);
	}

	public FinanceAnswer getAnswer(String hql) {
		return (FinanceAnswer)super.getObject(hql);
	}

	public List getAnswers(String hql) {
		return super.getObjects(hql);
	}

	public void saveAnswer(FinanceAnswer answer) {
		super.saveObject(answer);
	}

	public void updateAnswer(FinanceAnswer answer) {
		super.updateObject(answer);
	}

	public void deleteObject(Object obj) {
		deleteAnswer((FinanceAnswer)obj);
	}
}
